<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <!-- Any Other things should follow these 3 meta above -->
    <title>达米注册</title>
    <link href="/css/register.css" rel="stylesheet"/>
    <link href="/css/common.css" rel="stylesheet"/>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="/js/common/jquery-3.1.1.min.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/js/common/html5shiv.min.js"></script>
    <script src="/js/common/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="cont">
    <div class="form buyer-register">
        <form id="buyer-register" method="post" action="/index.html" th:action="@{/buyer/register}" onsubmit="return checkBuyerAll()" >
            <h2 style="text-align: center">欢迎您成为达米买家！</h2>
            <div class="text-ml">
                <span class="text-grey">用户名：</span><input type="text" name="name" value=""/><span class="text-red"></span>
            </div><br/>
            <div class="text-ml">
                <span class="text-grey ml-16">学号：</span><input type="text" name="studentNumber" value="" placeholder="请输入0-9的数字"/><span class="text-red"></span>
            </div><br/>
            <div class="text-ml">
                <span class="text-grey ml-16">密码：</span><input type="password"  name="password" value=""/><span class="text-red"></span>
            </div><br/>
            <div class="text-ml">
                <span class="text-grey" style="margin-left: -16px">确认密码：</span><input type="password" name="repass" value=""/><span class="text-red"></span>
            </div><br/>
            <div class="text-ml">
                <span class="text-grey ml-16">邮箱：</span><input type="email" name="email" value=""/><span class="text-red"></span>
            </div><br/>
            <div class="text-ml">
                <span class="text-grey ml-16">校区：</span>
                <input type="text" name="address" id="buyer-address" value="请点击此处选择校区"  readonly="readonly"/><span class="text-red"></span>
                <div id="baddress-dropdown">
                <ul class="ml-115">
                    <li ><a href="#" class="text-center">四牌楼校区</a></li>
                    <li><a href="#" class="text-center">九龙湖校区</a></li>
                    <li><a href="#" class="text-center">丁家桥校区</a></li>
                    <li><a href="#" class="text-center">苏州校区</a></li>
                    <li><a href="#" class="text-center">无锡校区</a></li>
                </ul>
                </div>
            </div><br/>
            <div class="text-ml">
                <span class="text-grey" style="margin-left: -16px">电话号码：</span><input type="text" name="mobile" value=""/><span class="text-red"></span>
            </div><br/>
            <button type="submit" class="fb-btn">买家 <span>注册</span></button>
        </form>
    </div>
    <div class="sub-cont">
        <div class="img">
            <div class="img__text m--up">
                <h2>第一次来达米？</h2>
                <p>注册体验更多美好的校园时光！</p>
                <span><a href="index.html" th:href="@{/index.html}">去达米首页</a></span>
            </div>
            <div class="img__text m--in">
                <h2>第一次来达米？</h2>
                <p>注册体验更多美好的校园时光！</p>
                <span><a href="index.html" th:href="@{/index.html}" class="mt-20">去达米首页</a></span>
            </div>
            <div class="img__btn">
                <span class="m--up">卖家注册</span>
                <span class="m--in">买家注册</span>
            </div>
        </div>
        <div class="form seller-register ">
            <h2>欢迎您成为达米卖家！</h2>
            <!---->
            <form id="seller-register" method="post" action="/index.html" th:action="@{/seller/register}" onsubmit="return checkSellerAll()" >
                <div class="text-ml">
                    <span class="text-grey">用户名：</span><input type="text" name="name" value=""/><span class="text-red"></span>
                </div><br/>
                <div class="text-ml">
                    <span class="text-grey ml-16">学号：</span><input type="text" name="studentNumber" value="" placeholder="请输入0-9的数字"/><span class="text-red"></span>
                </div><br/>
                <div class="text-ml">
                    <span class="text-grey ml-16">密码：</span><input type="password"  name="password" value=""/><span class="text-red"></span>
                </div><br/>
                <div class="text-ml">
                    <span class="text-grey" style="margin-left: -16px">确认密码：</span><input type="password" name="repass" value=""/><span class="text-red"></span>
                </div><br/>
                <div class="text-ml">
                    <span class="text-grey">店铺名：</span><input type="text" name="shopName" value=""/><span class="text-red"></span>
                </div><br/>
                <div class="text-ml">
                    <span class="text-grey ml-16">校区：</span><input type="text" id="seller-address" name="address" value="请点击此处选择校区"  readonly="readonly"/><span class="text-red"></span>
                    <div id="saddress-dropdown">
                        <ul class="ml-115">
                            <li ><a href="#" class="text-center">四牌楼校区</a></li>
                            <li><a href="#" class="text-center">九龙湖校区</a></li>
                            <li><a href="#" class="text-center">丁家桥校区</a></li>
                            <li><a href="#" class="text-center">苏州校区</a></li>
                            <li><a href="#" class="text-center">无锡校区</a></li>
                        </ul>
                    </div>
                </div><br/>
                <div class="text-ml">
                    <span class="text-grey" style="margin-left: -16px">电话号码：</span><input type="text" name="mobile" value=""/><span class="text-red"></span>
                </div><br/>
                <button type="submit" class="fb-btn">卖家 <span>注册</span></button>
            </form>
        </div>
    </div>
</div>
<script src="/js/register.js" type="text/javascript"></script>
</body>
</html>
<!--This is the common footer End-->